package com.zzyweb.rentalcarsys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyweb.rentalcarsys.entity.UserAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserAccountMapper extends BaseMapper<UserAccount> {
    @Select("select * from user_account where username =#{username} and password = #{password} ")
    UserAccount selectUserByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
